<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php 

require "config/properties_de.php";

?>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=windows-1250">
    <title></title>
    
    <style type="text/css">
    
      input {
        width: 100%;
      }
      
      #login {
      
        border-width: 1px;
        border-style: solid;
        border-color: red;
        padding-right: 5px;
      }
      
      #main {
        width: 100%;
        heigth: 100%;
      }
      
      #frame {
        text-align: center;
        vertical-align: middle;
        width: 100%;
        height: 100%;
      }
    
    </style>
    
  </head>
  <body>
    <form action="check.php" method="post">
      <table id="main">
        <tr>
          <td id="frame">
          
            <table id="login">
              <?php
                if(isset($_GET["versuch"])){
              ?>
              
              <tr>
                <td colspan="2">
                  <div>
                    <?php echo $message[0]; ?>
                  </div>
                </td>
              </tr>
              
              <?php 
              
                } 
              
              ?>
              
              <tr>
                <td><?php echo $message[1] ?></td>
                <td>
                  <input type="text" maxlength="50" name="benutzername" />
                </td>
              </tr>
              <tr>
                <td><?php echo $message[2] ?></td>
                <td>
                  <input type="password" maxlength="50" name="passwort" />
                </td>
              </tr>
              <tr>
                <td>
                  <a href="register.php"><?php echo $message[3] ?></a>
                </td>
                <td>
                  <input type="submit" value="Login" />
                </td>
              </tr>
              <tr>
                <td colspan="2" style="text-align: center">
                  <a href="mailto:webmaster@projectname.de"><?php echo $message[4] ?></a>
                </td>
              </tr>
            </table>
          </td>
        <tr>
      </table>
    </form>
    
    <!--  <h2>Ausgabe mit foreach</h2> -->
    
    <?php
    /*
    $zahlen=array("eins","zwei","drei","vier","fuenf","sechs","sieben","acht");
    
    echo("<pre>");
    print_r($zahlen);
    echo("</pre>");
    
    foreach($zahlen as $zahl){
      echo($zahl);
    }
    */
    ?>
    
    <!-- <h2>Ausgabe mit for-Schleife</h2> -->
    
    <?php
    /*
    for($i=0;$i<count($zahlen);$i++){
      echo($zahlen[$i]);
    }
    */
    ?>
    
  </body>
</html>
